

connectiontest:mq_connectiontest.cpp ../mqcommon/msg.pb.cc ../mqcommon/mq_proto.pb.cc
	g++ -o $@ $^ -std=c++11 -lprotobuf -lsqlite3 -I../third/include
channeltest:mq_channeltest.cpp ../mqcommon/msg.pb.cc ../mqcommon/mq_proto.pb.cc
	g++ -o $@ $^ -std=c++11 -lprotobuf -lsqlite3 -I../third/include
consumertest:mq_consumertest.cpp
	g++ -o $@ $^ -std=c++11 -lgtest -lprotobuf
routingtest:mq_routingtest.cpp
	g++ -o $@ $^ -std=c++11 -lgtest
hosttest:mq_hosttest.cpp ../mqcommon/msg.pb.cc
	g++ -o $@ $^ -std=c++11 -lgtest -lprotobuf -lsqlite3
messagetest:mq_messagetest.cpp ../mqcommon/msg.pb.cc
	g++ -o $@ $^ -std=c++11 -lgtest -lprotobuf
bindingtest:mq_bindingtest.cpp
	g++ -o $@ $^ -std=c++11 -lgtest -lsqlite3
queuetest:mq_queuetest.cpp
	g++ -o $@ $^ -std=c++11 -lgtest -lsqlite3
exchangetest:mq_exchangetest.cpp
	g++ -o $@ $^ -std=c++11 -lgtest -lprotobuf -lsqlite3
filetest:mq_filetest.cpp
	g++ -o $@ $^ -std=c++11
.PHONY:clean
clean:
	rm -f filetest